$OpenBSD: patch-src_pubsubmanager_cpp,v 1.1 2017/04/19 23:53:42 espie Exp $
--- src/pubsubmanager.cpp.orig	Thu Apr 20 01:48:03 2017
+++ src/pubsubmanager.cpp	Thu Apr 20 01:49:03 2017
@@ -20,6 +20,8 @@
 #include "shim.h"
 #include "util.h"
 #include "error.h"
+#include <cstdlib>
+using std::atoi;
 
 namespace gloox
 {
